/* 
 * 应用表单校验相关配置
 * 依赖：graceChecker.js 进行校验
 * 
 * 使用：引入该js到页面，let res = graceChecker.check({username:"",code:""},formRule.loginRule)
 */

export default {
	/* 用户登录 */
	loginRule: [{
		name: "name",
		checkType: "notnull",
		checkRule: "mobile",
		errorMsg: "请输入您的账号"
	}, {
		name: "password",
		checkType: "notnull",
		checkRule: "/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/",
		errorMsg: "请输入您的密码"
	}]
}
